package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 用户项目表
 *
 * @author flyme
 * @date 2020-12-17
 */
@Data
@Accessors(chain = true)
@TableName("bus_user_project")
@TableAlias("bup")
@ApiModel(value = "BusUserProject对象", description = "用户项目表")
public class BusUserProject {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "userProjectId", type = IdType.ID_WORKER)
    private Long userProjectId;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "项目Id")
    private Long projectId;

}
